home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / prog / word.arj / FLI02.C < prev    next >
C/C++ Source or Header  |  1993-01-28  |  481b  |  25 lines

  1. #include <conio.h>
  2. #include <wgt.h>
  3. #include <wgtfli.h>
  4.  
  5. // WordUp Graphics Toolkit FLI demo program
  6. // Simply loads in an FLI file and plays the animation.
  7. // Shows FLI on a virtual screen.
  8. void main(void)
  9. {
  10.      vga256();
  11.      fliscreen=wnewblock(0,0,319,199);
  12.  
  13.      openfli("wordup.fli");
  14.      do {
  15.      nextframe();
  16.      wnormscreen();
  17.      copyfli();
  18.      }while (!kbhit());
  19.      getch();
  20.      closefli();
  21.      wfreeblock(fliscreen);
  22. textmode(C80);
  23. }
  24.  
  25.